#ifndef RANDOM_H
#define RANDOM_H

#include <stdlib.h>


#define RANDOM_DOUBLE (((double)rand() + (double) 1) \
/ ((double)(RAND_MAX)+(double)(2)))

#define RANDOM_INDEX(count) (rand() % (count))

#define PI  ((double) 3.14159265358979323846)

#endif
